package com.plf.jsonrpc.rpc.service.impl;

import com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceImpl;
import com.plf.jsonrpc.rpc.service.MyselfRpcService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @Auther: jiewb
 * @Date: 2021/11/5 15:17
 * @Version： 1.0
 * @Description:
 */

@AutoJsonRpcServiceImpl
@Service
@Slf4j
public class MySelfRpcServiceImpl implements MyselfRpcService {
    @Override
    public String getTestMechod(String id) {
        log.info("访问服务端JSON-RPC,参数:{}",id);
        return "ceshishiyong";
    }
}
